﻿using System;
using System.Data;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AnyOffice.Components;
using AnyOffice.DAL;
namespace AnyOffice.general.mobile
{
    public partial class receive_delete : ModulePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int num = (Request.QueryString["page"] != null) ? int.Parse(Request.QueryString["page"]) : 1;
            int mobileId = (Request.QueryString["mobile_id"] != null) ? int.Parse(Request.QueryString["mobile_id"]) : 0;
            new MobileReceiveDao().Delete(base.Conn, mobileId, base.User.Identity.Name);
            base.CloseConn();
            Response.Redirect("receive_manage.aspx?page=" + num.ToString());
        } 

    }
}
